// from book Benmammar ex 3b page 132
public class Compteurs2 {
public static void main(String[] args) {
Compteur2 cA, cB, cC, cD;
cA= new Compteur2("tellerA");
cB= new Compteur2("tellerB");
cC= new Compteur2("tellerC");
cD= new Compteur2("tellerD");
Thread tA= new Thread(cA);
Thread tB= new Thread(cB);
Thread tC= new Thread(cC);
Thread tD= new Thread(cD);
tA.start();
tB.start();
tC.start();
tD.start();
}
}